package com.lmt_moban;

public class MyArrayList<E> {
   private Object obj[] = new Object[10];
   private int size;

   public boolean add(E e){
       obj[size++] = e;
       return true;
   }
   public E get(int index){
       return (E) obj[index];
   }
}
